[USER (data scientist)]: Thanks, Tapilot. Now, how do the top 10 players perform against each other in head-to-head matchups on grass courts in the last five years? Please provide a matrix table displaying head-to-head win-loss records between each pair of the top 10 players.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd
import numpy as np
import pickle
from decision_company import read_csv_file, create_zeros_array, create_dataframe, check_elements_in_list, iterate_rows, access_dataframe_loc, update_dataframe_loc

atp_tennis = read_csv_file('atp_tennis.csv')

# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE] 
</code1>
# YOUR SOLUTION END

print(head_to_head_matrix)

# save data
pickle.dump(head_to_head_matrix,open("./pred_result/head_to_head_matrix.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Sure, I can help you create a matrix table displaying head-to-head win-loss records between each pair of the top 10 players on grass courts in the last five years. We'll first filter the dataset to only include grass court matches played between the top 10 players in the last five years. Then, we'll create a matrix table to display the head-to-head win-loss records. Here's the code to do that:

# MY SOLUTION BEGIN:
